package cn.kgc.count.dao;

import cn.kgc.common.entity.Author;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * Created by teacher ZHANG on 2022/12/1
 */
public interface CountDao {
    public void hyperLogAdd(String key, String value);
    public Integer hyperLogCount(String key);

    public Set<String> keys(String pattern);

    public void zsetAdd(String key, String value, Integer score);
    public List<Map<String, Integer>> zsetRevrange(String key, Integer num);
}
